package bsts.view.subscription;

/**
 * not in use. For AddFeaturePanel testing purpose
 */

import java.awt.BorderLayout;
import java.util.ArrayList;

import javax.swing.JFrame;

import bsts.model.Feature;
import bsts.model.RateType;

public class AddFeatureWindow extends JFrame {

	private static final long serialVersionUID = 1L;

	private AddFeaturePanel addFeaturePanel;

	public AddFeatureWindow() {
		super("Billing System for Telephone Services");

		ArrayList<Feature> features = new ArrayList<Feature>();
		features.add(new Feature(1, "IDD", "International Calls", 0.5,
				RateType.PerSecond, true));
		features.add(new Feature(2, "Local Calls", "Local Calls", 0.5,
				RateType.PerSecond, false));
		addFeaturePanel = new AddFeaturePanel(features);

		this.setLayout(new BorderLayout());
		this.add(addFeaturePanel, BorderLayout.CENTER);
	}
}
